<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>AreaPtgBase (POI API Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="AreaPtgBase (POI API Documentation)";
    }
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/AreaPtgBase.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaPtg.html" title="class in org.apache.poi.ss.formula.ptg"><span class="strong">PREV CLASS</span></a></li>
<li><a href="../../../../../../org/apache/poi/ss/formula/ptg/ArrayPtg.html" title="class in org.apache.poi.ss.formula.ptg"><span class="strong">NEXT CLASS</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/poi/ss/formula/ptg/AreaPtgBase.html" target="_top">FRAMES</a></li>
<li><a href="AreaPtgBase.html" target="_top">NO FRAMES</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>SUMMARY:&nbsp;</li>
<li>NESTED&nbsp;|&nbsp;</li>
<li><a href="#fields_inherited_from_class_org.apache.poi.ss.formula.ptg.Ptg">FIELD</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">CONSTR</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">METHOD</a></li>
</ul>
<ul class="subNavList">
<li>DETAIL:&nbsp;</li>
<li>FIELD&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">CONSTR</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">METHOD</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<p class="subTitle">org.apache.poi.ss.formula.ptg</p>
<h2 title="Class AreaPtgBase" class="title">Class AreaPtgBase</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../../../../../../org/apache/poi/ss/formula/ptg/Ptg.html" title="class in org.apache.poi.ss.formula.ptg">org.apache.poi.ss.formula.ptg.Ptg</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../../../org/apache/poi/ss/formula/ptg/OperandPtg.html" title="class in org.apache.poi.ss.formula.ptg">org.apache.poi.ss.formula.ptg.OperandPtg</a></li>
<li>
<ul class="inheritance">
<li>org.apache.poi.ss.formula.ptg.AreaPtgBase</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.lang.Cloneable, <a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaI.html" title="interface in org.apache.poi.ss.formula.ptg">AreaI</a></dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../../../org/apache/poi/ss/formula/ptg/Area2DPtgBase.html" title="class in org.apache.poi.ss.formula.ptg">Area2DPtgBase</a>, <a href="../../../../../../org/apache/poi/ss/formula/ptg/Area3DPtg.html" title="class in org.apache.poi.ss.formula.ptg">Area3DPtg</a>, <a href="../../../../../../org/apache/poi/ss/formula/ptg/Area3DPxg.html" title="class in org.apache.poi.ss.formula.ptg">Area3DPxg</a></dd>
</dl>
<hr>
<br>
<pre>public abstract class <strong>AreaPtgBase</strong>
extends <a href="../../../../../../org/apache/poi/ss/formula/ptg/OperandPtg.html" title="class in org.apache.poi.ss.formula.ptg">OperandPtg</a>
implements <a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaI.html" title="interface in org.apache.poi.ss.formula.ptg">AreaI</a></pre>
<div class="block">Specifies a rectangular area of cells A1:A4 for instance.</div>
<dl><dt><span class="strong">Author:</span></dt>
  <dd>andy, Jason Height (jheight at chariot dot net dot au)</dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested_class_summary">
<!--   -->
</a>
<h3>Nested Class Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="nested_classes_inherited_from_class_org.apache.poi.ss.formula.ptg.AreaI">
<!--   -->
</a>
<h3>Nested classes/interfaces inherited from interface&nbsp;org.apache.poi.ss.formula.ptg.<a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaI.html" title="interface in org.apache.poi.ss.formula.ptg">AreaI</a></h3>
<code><a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaI.OffsetArea.html" title="class in org.apache.poi.ss.formula.ptg">AreaI.OffsetArea</a></code></li>
</ul>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!--   -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_org.apache.poi.ss.formula.ptg.Ptg">
<!--   -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.poi.ss.formula.ptg.<a href="../../../../../../org/apache/poi/ss/formula/ptg/Ptg.html" title="class in org.apache.poi.ss.formula.ptg">Ptg</a></h3>
<code><a href="../../../../../../org/apache/poi/ss/formula/ptg/Ptg.html#CLASS_ARRAY">CLASS_ARRAY</a>, <a href="../../../../../../org/apache/poi/ss/formula/ptg/Ptg.html#CLASS_REF">CLASS_REF</a>, <a href="../../../../../../org/apache/poi/ss/formula/ptg/Ptg.html#CLASS_VALUE">CLASS_VALUE</a>, <a href="../../../../../../org/apache/poi/ss/formula/ptg/Ptg.html#EMPTY_PTG_ARRAY">EMPTY_PTG_ARRAY</a></code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!--   -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier</th>
<th class="colLast" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected </code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaPtgBase.html#AreaPtgBase()">AreaPtgBase</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected </code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaPtgBase.html#AreaPtgBase(org.apache.poi.ss.util.AreaReference)">AreaPtgBase</a></strong>(<a href="../../../../../../org/apache/poi/ss/util/AreaReference.html" title="class in org.apache.poi.ss.util">AreaReference</a>&nbsp;ar)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected </code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaPtgBase.html#AreaPtgBase(int, int, int, int, boolean, boolean, boolean, boolean)">AreaPtgBase</a></strong>(int&nbsp;firstRow,
           int&nbsp;lastRow,
           int&nbsp;firstColumn,
           int&nbsp;lastColumn,
           boolean&nbsp;firstRowRelative,
           boolean&nbsp;lastRowRelative,
           boolean&nbsp;firstColRelative,
           boolean&nbsp;lastColRelative)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaPtgBase.html#formatReferenceAsString()">formatReferenceAsString</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>byte</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaPtgBase.html#getDefaultOperandClass()">getDefaultOperandClass</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaPtgBase.html#getFirstColumn()">getFirstColumn</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>short</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaPtgBase.html#getFirstColumnRaw()">getFirstColumnRaw</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaPtgBase.html#getFirstRow()">getFirstRow</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaPtgBase.html#getLastColumn()">getLastColumn</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>short</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaPtgBase.html#getLastColumnRaw()">getLastColumnRaw</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaPtgBase.html#getLastRow()">getLastRow</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaPtgBase.html#isFirstColRelative()">isFirstColRelative</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaPtgBase.html#isFirstRowRelative()">isFirstRowRelative</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaPtgBase.html#isLastColRelative()">isLastColRelative</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaPtgBase.html#isLastRowRelative()">isLastRowRelative</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.lang.RuntimeException</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaPtgBase.html#notImplemented()">notImplemented</a></strong>()</code>
<div class="block">TODO - (May-2008) fix subclasses of AreaPtg 'AreaN~' which are used in shared formulas.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaPtgBase.html#readCoordinates(org.apache.poi.util.LittleEndianInput)">readCoordinates</a></strong>(<a href="../../../../../../org/apache/poi/util/LittleEndianInput.html" title="interface in org.apache.poi.util">LittleEndianInput</a>&nbsp;in)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaPtgBase.html#setFirstColRelative(boolean)">setFirstColRelative</a></strong>(boolean&nbsp;rel)</code>
<div class="block">set whether the first column is relative</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaPtgBase.html#setFirstColumn(int)">setFirstColumn</a></strong>(int&nbsp;colIx)</code>
<div class="block">set the first column in the area</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaPtgBase.html#setFirstColumnRaw(int)">setFirstColumnRaw</a></strong>(int&nbsp;column)</code>
<div class="block">set the first column irrespective of the bitmasks</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaPtgBase.html#setFirstRow(int)">setFirstRow</a></strong>(int&nbsp;rowIx)</code>
<div class="block">sets the first row</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaPtgBase.html#setFirstRowRelative(boolean)">setFirstRowRelative</a></strong>(boolean&nbsp;rel)</code>
<div class="block">sets the first row to relative or not</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaPtgBase.html#setLastColRelative(boolean)">setLastColRelative</a></strong>(boolean&nbsp;rel)</code>
<div class="block">set whether the last column should be relative or not</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaPtgBase.html#setLastColumn(int)">setLastColumn</a></strong>(int&nbsp;colIx)</code>
<div class="block">set the last column in the area</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaPtgBase.html#setLastColumnRaw(short)">setLastColumnRaw</a></strong>(short&nbsp;column)</code>
<div class="block">set the last column irrespective of the bitmasks</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaPtgBase.html#setLastRow(int)">setLastRow</a></strong>(int&nbsp;rowIx)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaPtgBase.html#setLastRowRelative(boolean)">setLastRowRelative</a></strong>(boolean&nbsp;rel)</code>
<div class="block">set whether the last row is relative or not</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaPtgBase.html#toFormulaString()">toFormulaString</a></strong>()</code>
<div class="block">return a string representation of this token alone</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaPtgBase.html#writeCoordinates(org.apache.poi.util.LittleEndianOutput)">writeCoordinates</a></strong>(<a href="../../../../../../org/apache/poi/util/LittleEndianOutput.html" title="interface in org.apache.poi.util">LittleEndianOutput</a>&nbsp;out)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.apache.poi.ss.formula.ptg.OperandPtg">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.poi.ss.formula.ptg.<a href="../../../../../../org/apache/poi/ss/formula/ptg/OperandPtg.html" title="class in org.apache.poi.ss.formula.ptg">OperandPtg</a></h3>
<code><a href="../../../../../../org/apache/poi/ss/formula/ptg/OperandPtg.html#copy()">copy</a>, <a href="../../../../../../org/apache/poi/ss/formula/ptg/OperandPtg.html#isBaseToken()">isBaseToken</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.apache.poi.ss.formula.ptg.Ptg">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.poi.ss.formula.ptg.<a href="../../../../../../org/apache/poi/ss/formula/ptg/Ptg.html" title="class in org.apache.poi.ss.formula.ptg">Ptg</a></h3>
<code><a href="../../../../../../org/apache/poi/ss/formula/ptg/Ptg.html#createPtg(org.apache.poi.util.LittleEndianInput)">createPtg</a>, <a href="../../../../../../org/apache/poi/ss/formula/ptg/Ptg.html#doesFormulaReferToDeletedCell(org.apache.poi.ss.formula.ptg.Ptg[])">doesFormulaReferToDeletedCell</a>, <a href="../../../../../../org/apache/poi/ss/formula/ptg/Ptg.html#getEncodedSize(org.apache.poi.ss.formula.ptg.Ptg[])">getEncodedSize</a>, <a href="../../../../../../org/apache/poi/ss/formula/ptg/Ptg.html#getEncodedSizeWithoutArrayData(org.apache.poi.ss.formula.ptg.Ptg[])">getEncodedSizeWithoutArrayData</a>, <a href="../../../../../../org/apache/poi/ss/formula/ptg/Ptg.html#getPtgClass()">getPtgClass</a>, <a href="../../../../../../org/apache/poi/ss/formula/ptg/Ptg.html#getRVAType()">getRVAType</a>, <a href="../../../../../../org/apache/poi/ss/formula/ptg/Ptg.html#getSize()">getSize</a>, <a href="../../../../../../org/apache/poi/ss/formula/ptg/Ptg.html#readTokens(int, org.apache.poi.util.LittleEndianInput)">readTokens</a>, <a href="../../../../../../org/apache/poi/ss/formula/ptg/Ptg.html#serializePtgs(org.apache.poi.ss.formula.ptg.Ptg[], byte[], int)">serializePtgs</a>, <a href="../../../../../../org/apache/poi/ss/formula/ptg/Ptg.html#setClass(byte)">setClass</a>, <a href="../../../../../../org/apache/poi/ss/formula/ptg/Ptg.html#toString()">toString</a>, <a href="../../../../../../org/apache/poi/ss/formula/ptg/Ptg.html#write(org.apache.poi.util.LittleEndianOutput)">write</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!--   -->
</a>
<h3>Constructor Detail</h3>
<a name="AreaPtgBase()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>AreaPtgBase</h4>
<pre>protected&nbsp;AreaPtgBase()</pre>
</li>
</ul>
<a name="AreaPtgBase(org.apache.poi.ss.util.AreaReference)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>AreaPtgBase</h4>
<pre>protected&nbsp;AreaPtgBase(<a href="../../../../../../org/apache/poi/ss/util/AreaReference.html" title="class in org.apache.poi.ss.util">AreaReference</a>&nbsp;ar)</pre>
</li>
</ul>
<a name="AreaPtgBase(int, int, int, int, boolean, boolean, boolean, boolean)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>AreaPtgBase</h4>
<pre>protected&nbsp;AreaPtgBase(int&nbsp;firstRow,
           int&nbsp;lastRow,
           int&nbsp;firstColumn,
           int&nbsp;lastColumn,
           boolean&nbsp;firstRowRelative,
           boolean&nbsp;lastRowRelative,
           boolean&nbsp;firstColRelative,
           boolean&nbsp;lastColRelative)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="notImplemented()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>notImplemented</h4>
<pre>protected final&nbsp;java.lang.RuntimeException&nbsp;notImplemented()</pre>
<div class="block">TODO - (May-2008) fix subclasses of AreaPtg 'AreaN~' which are used in shared formulas.
 see similar comment in ReferencePtg</div>
</li>
</ul>
<a name="readCoordinates(org.apache.poi.util.LittleEndianInput)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readCoordinates</h4>
<pre>protected final&nbsp;void&nbsp;readCoordinates(<a href="../../../../../../org/apache/poi/util/LittleEndianInput.html" title="interface in org.apache.poi.util">LittleEndianInput</a>&nbsp;in)</pre>
</li>
</ul>
<a name="writeCoordinates(org.apache.poi.util.LittleEndianOutput)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeCoordinates</h4>
<pre>protected final&nbsp;void&nbsp;writeCoordinates(<a href="../../../../../../org/apache/poi/util/LittleEndianOutput.html" title="interface in org.apache.poi.util">LittleEndianOutput</a>&nbsp;out)</pre>
</li>
</ul>
<a name="getFirstRow()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFirstRow</h4>
<pre>public final&nbsp;int&nbsp;getFirstRow()</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaI.html#getFirstRow()">getFirstRow</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaI.html" title="interface in org.apache.poi.ss.formula.ptg">AreaI</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the first row in the area</dd></dl>
</li>
</ul>
<a name="setFirstRow(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFirstRow</h4>
<pre>public final&nbsp;void&nbsp;setFirstRow(int&nbsp;rowIx)</pre>
<div class="block">sets the first row</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>rowIx</code> - number (0-based)</dd></dl>
</li>
</ul>
<a name="getLastRow()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLastRow</h4>
<pre>public final&nbsp;int&nbsp;getLastRow()</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaI.html#getLastRow()">getLastRow</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaI.html" title="interface in org.apache.poi.ss.formula.ptg">AreaI</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>last row in the range (x2 in x1,y1-x2,y2)</dd></dl>
</li>
</ul>
<a name="setLastRow(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLastRow</h4>
<pre>public final&nbsp;void&nbsp;setLastRow(int&nbsp;rowIx)</pre>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>rowIx</code> - last row number in the area</dd></dl>
</li>
</ul>
<a name="getFirstColumn()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFirstColumn</h4>
<pre>public final&nbsp;int&nbsp;getFirstColumn()</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaI.html#getFirstColumn()">getFirstColumn</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaI.html" title="interface in org.apache.poi.ss.formula.ptg">AreaI</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the first column number in the area.</dd></dl>
</li>
</ul>
<a name="getFirstColumnRaw()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFirstColumnRaw</h4>
<pre>public final&nbsp;short&nbsp;getFirstColumnRaw()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>the first column number + the options bit settings unstripped</dd></dl>
</li>
</ul>
<a name="isFirstRowRelative()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isFirstRowRelative</h4>
<pre>public final&nbsp;boolean&nbsp;isFirstRowRelative()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>whether or not the first row is a relative reference or not.</dd></dl>
</li>
</ul>
<a name="setFirstRowRelative(boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFirstRowRelative</h4>
<pre>public final&nbsp;void&nbsp;setFirstRowRelative(boolean&nbsp;rel)</pre>
<div class="block">sets the first row to relative or not</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>rel</code> - is relative or not.</dd></dl>
</li>
</ul>
<a name="isFirstColRelative()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isFirstColRelative</h4>
<pre>public final&nbsp;boolean&nbsp;isFirstColRelative()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>isrelative first column to relative or not</dd></dl>
</li>
</ul>
<a name="setFirstColRelative(boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFirstColRelative</h4>
<pre>public final&nbsp;void&nbsp;setFirstColRelative(boolean&nbsp;rel)</pre>
<div class="block">set whether the first column is relative</div>
</li>
</ul>
<a name="setFirstColumn(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFirstColumn</h4>
<pre>public final&nbsp;void&nbsp;setFirstColumn(int&nbsp;colIx)</pre>
<div class="block">set the first column in the area</div>
</li>
</ul>
<a name="setFirstColumnRaw(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFirstColumnRaw</h4>
<pre>public final&nbsp;void&nbsp;setFirstColumnRaw(int&nbsp;column)</pre>
<div class="block">set the first column irrespective of the bitmasks</div>
</li>
</ul>
<a name="getLastColumn()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLastColumn</h4>
<pre>public final&nbsp;int&nbsp;getLastColumn()</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaI.html#getLastColumn()">getLastColumn</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaI.html" title="interface in org.apache.poi.ss.formula.ptg">AreaI</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>lastcolumn in the area</dd></dl>
</li>
</ul>
<a name="getLastColumnRaw()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLastColumnRaw</h4>
<pre>public final&nbsp;short&nbsp;getLastColumnRaw()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>last column and bitmask (the raw field)</dd></dl>
</li>
</ul>
<a name="isLastRowRelative()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isLastRowRelative</h4>
<pre>public final&nbsp;boolean&nbsp;isLastRowRelative()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>last row relative or not</dd></dl>
</li>
</ul>
<a name="setLastRowRelative(boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLastRowRelative</h4>
<pre>public final&nbsp;void&nbsp;setLastRowRelative(boolean&nbsp;rel)</pre>
<div class="block">set whether the last row is relative or not</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>rel</code> - <code>true</code> if the last row relative, else
 <code>false</code></dd></dl>
</li>
</ul>
<a name="isLastColRelative()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isLastColRelative</h4>
<pre>public final&nbsp;boolean&nbsp;isLastColRelative()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>lastcol relative or not</dd></dl>
</li>
</ul>
<a name="setLastColRelative(boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLastColRelative</h4>
<pre>public final&nbsp;void&nbsp;setLastColRelative(boolean&nbsp;rel)</pre>
<div class="block">set whether the last column should be relative or not</div>
</li>
</ul>
<a name="setLastColumn(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLastColumn</h4>
<pre>public final&nbsp;void&nbsp;setLastColumn(int&nbsp;colIx)</pre>
<div class="block">set the last column in the area</div>
</li>
</ul>
<a name="setLastColumnRaw(short)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLastColumnRaw</h4>
<pre>public final&nbsp;void&nbsp;setLastColumnRaw(short&nbsp;column)</pre>
<div class="block">set the last column irrespective of the bitmasks</div>
</li>
</ul>
<a name="formatReferenceAsString()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>formatReferenceAsString</h4>
<pre>protected final&nbsp;java.lang.String&nbsp;formatReferenceAsString()</pre>
</li>
</ul>
<a name="toFormulaString()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toFormulaString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toFormulaString()</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../../org/apache/poi/ss/formula/ptg/Ptg.html#toFormulaString()">Ptg</a></code></strong></div>
<div class="block">return a string representation of this token alone</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../../org/apache/poi/ss/formula/ptg/Ptg.html#toFormulaString()">toFormulaString</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/poi/ss/formula/ptg/Ptg.html" title="class in org.apache.poi.ss.formula.ptg">Ptg</a></code></dd>
</dl>
</li>
</ul>
<a name="getDefaultOperandClass()">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getDefaultOperandClass</h4>
<pre>public&nbsp;byte&nbsp;getDefaultOperandClass()</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../../org/apache/poi/ss/formula/ptg/Ptg.html#getDefaultOperandClass()">getDefaultOperandClass</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/poi/ss/formula/ptg/Ptg.html" title="class in org.apache.poi.ss.formula.ptg">Ptg</a></code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/AreaPtgBase.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../org/apache/poi/ss/formula/ptg/AreaPtg.html" title="class in org.apache.poi.ss.formula.ptg"><span class="strong">PREV CLASS</span></a></li>
<li><a href="../../../../../../org/apache/poi/ss/formula/ptg/ArrayPtg.html" title="class in org.apache.poi.ss.formula.ptg"><span class="strong">NEXT CLASS</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/poi/ss/formula/ptg/AreaPtgBase.html" target="_top">FRAMES</a></li>
<li><a href="AreaPtgBase.html" target="_top">NO FRAMES</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>SUMMARY:&nbsp;</li>
<li>NESTED&nbsp;|&nbsp;</li>
<li><a href="#fields_inherited_from_class_org.apache.poi.ss.formula.ptg.Ptg">FIELD</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">CONSTR</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">METHOD</a></li>
</ul>
<ul class="subNavList">
<li>DETAIL:&nbsp;</li>
<li>FIELD&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">CONSTR</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">METHOD</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>
                <i>Copyright 2014 The Apache Software Foundation or
        its licensors, as applicable.</i>
            </small></p>
</body>
</html>
